<!-- box menu -->
<?php $this->renderPartial("application.views.layouts._menu");?>
<!-- End box menu -->
<?php 
    $items = $_SESSION["items"];
    foreach($items as $key=>$value){
        $item = $value;
        break;
    }
    $type_display = LoadConfig::$type_display;
?>
<div class="about">
        <?php $this->widget("BoxLogin");?>
        <h1><a><img src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-taomanhung.png" alt="" class="kc_TB_td" />
        </a><a href="#" class="xanhdam">Tạo Mã Nhúng</a>
        </h1>
        <div class="Tma">
            <div class="Tma_1">
                <a href="#" class="button_Tma_2">1</a><a href="#" class="denxam">Chọn sản phẩm</a>
                &nbsp;&nbsp;&nbsp;
                <a href="#" class="button_Tma">2</a><a href="#" class="denxam">Chọn kiểu hiện thị</a>
                &nbsp;&nbsp;&nbsp;
                <a href="#" class="button_Tma_2">3</a><a href="#" class="denxam">Chọn giao diện</a>
                &nbsp;&nbsp;&nbsp;
                <a href="#" class="button_Tma_2">4</a><a href="#" class="denxam">Lấy mã nhúng</a>
            </div>
        </div>
         <div>
            <h2>
            <img src="<?php  echo Yii::app()->params['static_url']; ?>images/tenweb-icon-taomanhung-giaodien.png" alt="" width="14" height="16" class="kc_TB_td" />Chọn Giao Diện
            </h2>  
        </div>  
        <form name="embedStep2Form" action="<?php echo  Url::createUrl('tool/embedStep2')?>" method="post"> 
        <div class="Moi1">
                <?php
            if(!empty($error))
             echo $error;
            ?>
        </div>
        
        <?php foreach($type_display as $key=>$value){
                    if($key<=5)  {
        ?>
        <div class="CKHT_td">
            <?php $this->renderPartial("tpl_display_code_tmp",array("item"=>$item,"type"=>$key,"radio"=>1,"layout"=>array()))?>
        </div>
         <?php }}?>

         <div class="Tma_8">
                <input name="submit_b2" type="submit" style="cursor: pointer;" value="Tiếp theo" class="button_DNHT_1"/>  
                <a href="<?php echo Url::createUrl("tool/embedStep1") ?>" class="button_DNHT_2">Quay lại</a>
         </div>
         
        <div class="Tma_9">
          <img src="<?php  echo Yii::app()->params['static_url']; ?>images/tenweb-icon-DS-ma-nhung.png" alt="" width="11" height="13" class="kc_TB_td" />Danh Sách Mã Nhúng
        </div>

        <div class="Tma_10">
         <ul>
            <li>
            <a href="#"><img src="<?php  echo Yii::app()->params['static_url']; ?>images/tenweb-icon-cacloaimanhung.png" alt="" width="24" height="16" class="kc_TB_td" />Bộ Game Online chia sẻ % khủng</a>
            </li>
         </ul>
        </div>
        
       </form>
</div>